home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
apps
/
131
/
applic
/
dslide.doc
< prev
next >
Wrap
Text File
|
1987-04-17
|
9KB
|
216 lines
========================================================================
Deluxe SlideShow (c)1987 Advanced Software
by John Brochu rev: March 21, 1987
========================================================================
This program is NOT public domain,
but may be distributed free of charge
provided this doc file accompanies the program.
------------------------------------------------------------------------
Deluxe SlideShow is an attempt to combine all the currently popular
ST graphics formats into one compact, but flexible slide show program.
The program includes support for NeoChrome, DEGAS, DEGAS compressed, and
Tiny format pictures. Any pic can be loaded and displayed on EITHER
monitor. The low and med to hi-res conversions take a few seconds, but
the results are very pleasing since a 16 (or 4 in the med-res case)
level dither table is used to represent the different color intensities.
Hi-res to med-res is the same conversion as used in PicSwitch 0.6 and is
almost instantaneous.
The user has full control over slide speed, titling, and slide
order through the use of an optional script file. You can specify
multiple search paths and/or filenames with full wildcard support.
o Neo, DEGAS, DEGAS compressed, & Tiny support
o Fully automatic res-switching
o Fully programmable
o Optional script files with separate mono & color scripts
o Optional titles
o Supports command line input, with wildcards
------------------------------------------------------------------------
File Formats
------------------------------------------------------------------------
DSLIDE.PRG will load and display pics with the following file
extenders:
NEO............ NeoChrome
PI1-3.......... DEGAS
PC1-3.......... DEGAS compressed
TNY or TN1-3... Tiny
Color cycling is not supported at this time.
------------------------------------------------------------------------
Script Files
------------------------------------------------------------------------
DSLIDE uses a fairly complex search routine to quickly find the
desired files in the directory. If a valid file is found that matches
the search path, the extender is first verified to be sure it is a
picture file.
When the program is run, the command line is first checked for a
valid pathname or filename. If one is found it is processed and the
slide show proceeds. If not, then the current directory is searched for
one of three script files, depending on whether a color or mono system
is used. If color, "SLIDEC.LST" is loaded and processed; if mono, then
"SLIDEM.LST" is loaded. If neither is found, the default file
"SLIDE.LST" is used. This allows you to have different slideshow
configurations for color & monochrome on the same disk. If all else
fails, the default path "#:*.*" is used as the search path, where '#' is
the current directory.
Script files may contain the following fields (all are optional,
and can be in any order), default settings are given in brackets:
NAME: a flag to indicate whether to title the pics [no]
TIME: delay between pics (in seconds) [0 secs]
PATH: Pathname list [current directory]
FILE: Filename list [all files]
The 'NAME:' field is a character string, a 'Y', or 'y' first
character indicates the pictures will be titled at the bottom center,
anything else will be taken as a 'no' (and this is the default).
The 'TIME:' field is a numeric string specifying the number of
seconds to display each picture. Note this is the actual time the pic
will be on-screen. Unlike most other slide shows, DSLIDE takes
disk-access time into account. If the pic takes longer than this to
load, it will flip immediately after it is loaded.
The 'PATH:' field consists of a list of pathnames to be searched
one after another. If a full pathname is present (ie. "A:\PICS\*.PI1"),
then that is the search path used. If a path is present without a
filename ("A:\PICS\"), then the FILE list is scanned one at a time to
complete the full pathname. Wildcards may be used in the filename
only.
The 'FILE:' field consists of a list of filenames (and filenames
ONLY, paths will be stripped, ie. "A:\PICS\*.PC?" will be read as
"*.PC?") to be processed one at a time. Again, you may include
wildcards or use full filenames.
The field names MUST BE UPPER CASE and MUST CONTAIN THE COLON.
Blank lines are ignored, and all text before the first field is
ignored, so that comments can be used at the start of a script file.
The following is a sample script file:
---------cut here----------
This is a sample DSLIDE script file...
Any text before the first field is ignored!
TIME:
5
NAME:
yes
PATH:
c:\pics\*.tny
c:\images\
#:
FILE:
*.p??
*.neo
*.tny
----------cut here----------
This script will display the pics with a 5 sec delay, and with
titles. The first PATH entry will cause all Tiny pics found in the
"pics" folder on drive C to be displayed. Since this is a full
pathname, the file list is ignored for this path, and the pathname is
searched as-is. After this is complete the second PATH entry is
processed. Since it is a pathname only (no filename), each of the FILE
entries in turn is appended to the path to form the complete search
pathname (ie. the first path searched will be "c:\images\*.p??", then
"c:\images\*.neo", and finally "c:\images\*.tny"). Finally, the third
PATH entry is processed, again since it is not a complete pathname, the
FILE list is scanned one at a time to complete the search pathname. The
'#' character is used to denote the current drive (drive the program was
run from).
Note you can also specify the pics to display by name, in either
the PATH or FILE fields, if you wish to display the pics in a certain
order, such as:
-----------cut here-----------
PATH:
a:\pics\
FILE:
cat.pi1
house.pi1
dog.pi1
sketch.pi2
-----------cut here-----------
or:
-----------cut here-----------
PATH:
a:\pics\cat.pi1
a:\pics\house.pi1
a:\pics\dog.pi1
a:\pics\sketch.pi2
-----------cut here-----------
------------------------------------------------------------------------
The Command Line
------------------------------------------------------------------------
A 'PATH:' or 'FILE:' entry can also be entered on the command line
when running DSLIDE. To do this, rename DSLIDE.PRG to DSLIDE.TTP, or
install it as a Tos Takes Parameters application from the desktop. You
can also install it with a certain file type and then display a single
pic at a time by double-clicking on the picture file's icon.
------------------------------------------------------------------------
Keyboard commands
------------------------------------------------------------------------
The following key commands are accepted while the slideshow is
running:
SPACE......... pause at the current pic, any key resumes
RETURN, UNDO.. abort the show
ESC........... skip the time delay and flip to the next pic
HELP.......... toggle titles on/off
F1-F10........ change minimum pic display time as follows:
F1..... 0 sec
F2..... 1 sec
F3..... 2 sec
F4..... 4 sec
F5..... 8 sec
F6.... 15 sec
F7.... 30 sec
F8..... 1 min
F9..... 2 min
F10.... 4 min
Holding down the right mouse button also aborts the slide show.
------------------------------------------------------------------------
Comments, anyone?
------------------------------------------------------------------------
This program was written mostly because I was tired of using
several different slide show programs to display my growing library of
pics. If you like it or have some suggestions for future enhancement,
I'd like to hear from you. I can be reached on GEnie [JAKOB] and CIS
[70376,1235], or by mail at:
Advanced Software
21 Northend Street
Peabody, MA 01923
========================================================================